using System.Collections.Generic;

using octalforty.BizFramework.Core.Collections;

using octalforty.Waffle.ObjectModel.Business.Objects;

namespace octalforty.Waffle.ObjectModel.Business.Collections
{
    /// <summary>
    /// Represents a collection of <see cref="DiscussionPost"/> objects.
    /// </summary>
    public sealed class DiscussionPostCollection : CollectionBase<DiscussionPost>
    {
        /// <summary>
        /// Initializes a new instance of <see cref="DiscussionPostCollection"/> class.
        /// </summary>
        public DiscussionPostCollection()
        {
        }

        /// <summary>
        /// Initializes a new instance of <see cref="DiscussionPostCollection"/> class
        /// as a wrapper for the specified list.
        /// </summary>
        /// <param name="list"></param>
        public DiscussionPostCollection(IList<DiscussionPost> list) : 
            base(list)
        {
        }
    }
}
